 <!DOCTYPE html>
 <html>
 <head>
    <title>信审日报表页面</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/base.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/layer.css" rel="stylesheet">
    <link href="css/pagination.css" rel="stylesheet">
    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet">
    <link href="css/jedate.css" rel="stylesheet">
    <style>
        #loanDetail{
            background-color: #fff;
            margin-bottom: 15px;
        }
        #loanDetail p{
            padding-left:0 ;
            padding-right: 0;
            margin: 6px 0 ;
        }
        #loanDetail .wd_60{
            display: inline-block;
            width: 102px;
            text-align: right;
            font-size: 12px;
            font-family: "微软雅黑";
        }
        #loanDetail .c13 .wd_60{
            float: left;
            margin-top: 5px;
        }
        #loanDetail .c13 input{
            float: left;
            font-size: 12px;
            font-family: "微软雅黑";
        }
        #loanDetail .col-lg-3 ,#loanDetail .c13{
            margin:5px 0;
            padding-left:5px;
            padding-right: 5px;
        }

        #loanDetail select option{
            font-size: 12px;
            font-family: "微软雅黑";
        }
        .search_btn {
            font-size: 12px;
            background-color: #09C;
            padding: 5px 16px;
            margin-top: 3px;
            margin-bottom: 5px;
        }
        .ta_r{
            text-align: right;
        }
        .mr_25{
            margin-right: 25px;
        }
        .cardSelect{
            border: 1px solid #ddd;
            height: 25px;
            width: 150px;
            font-size: 12px;
        }
    </style>
</head>
<body>
    <div class="content1" href="">
<!-- <div class="hui"><img src="/hd/static/images/ajax-loader.gif"></div> -->
        <div class="content">
            <!--面包屑导航start-->
            <ol class="breadcrumb">
                <li class="active">信审日报表查询</li>
            </ol>
            <div id="loanDetail" class="col-lg-12 col-md-12 col-sm-12">
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">商户名称&nbsp;&nbsp;</span><input type="text" id="bizName"></div>
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">复审开始日期&nbsp;&nbsp;</span><input type="text" id="applyDateStart" value="2019-05-27 00:00:00" placeholder="请选择时间"></div>
                <div class="col-lg-3 col-md-3 col-sm-3 c13"><span class="wd_60">复审结束日期&nbsp;&nbsp;</span><input type="text" id="applyDateStart1" value="2019-08-27 59:59:59" placeholder="请选择时间"></div>

                
                <div class="col-lg-3 col-md-3 col-sm-3 ta_r">
                    <button class="btn btn-primary btn-sm search_btn" type="button" id="btn-search">查询</button>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <button class="btn btn-primary btn-sm search_btn mr_25" type="button" id="btn-export" onclick="exportExcel();">导出</button>
                </div>
                <div class="clear"></div>
            </div>
            <div class="table-responsive" style="overflow-x: auto;">
                <div id="lendingList_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer"><div class="top"><div class="clear"></div></div><div id="lendingList_processing" class="dataTables_processing panel panel-default" style="display: none;">处理中...</div><div class="dataTables_scroll"><div class="dataTables_scrollHead" style="overflow: hidden; position: relative; border: 0px; width: 100%;"><div class="dataTables_scrollHeadInner" style="box-sizing: content-box; width: 4500px; padding-right: 0px;"><table style="overflow: auto; width: 4500px; margin-left: 0px;" class="table table-bordered table-striped table-hover bg_wt dataTable no-footer" role="grid"><thead style="border-bottom: 0;background-color: #fff;">
                    <tr role="row"><th rowspan="3" style="width: 25px;" align="center" class="sorting_disabled" colspan="1">序号</th><th rowspan="3" style="width: 219px;" align="center" class="sorting_disabled" colspan="1">商户名称</th><th colspan="8" align="center" rowspan="1">审核情况</th><th colspan="29" align="center" rowspan="1">原因统计</th></tr>
                    <tr role="row"><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">通过金额</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">审批总数</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">通过数量</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">拒绝数量</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">打回数量</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">取消数量</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 51px;">通过率</th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="width: 50px;">金额比例</th><th colspan="15" align="center" rowspan="1">拒绝原因</th><th colspan="7" align="center" rowspan="1">取消原因</th><th colspan="7" align="center" rowspan="1">打回原因</th></tr>
                    <tr role="row"><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 50px;">信息虚假</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 87px;">关机/空号/停机</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 88px;">不符合进件标准</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 88px;">产品与申请不符</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 132px;">临时身份证/身份证过期</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 132px;">非本人使用/非本人申请</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 174px;">多时段拨打占线/无人接听/拒接</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 132px;">申请人无业/工作不稳定</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 50px;">限制行业</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 63px;">不配合审核</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 63px;">高风险客户</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 305px;">通讯录信息无效/未授权通讯录/非实名手机/在网时间短</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 76px;">还款能力不足</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 50px;">其他原因</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 25px;">其他</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 162px;">多次拨打占线/无人接听/拒接</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 151px;">申请人主动取消办理此业务</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 137px;">资料不全/不清晰/不合规</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 170px;">申请人需要与业务/联系人沟通</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 76px;">信息填写错误</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 88px;">银行卡无法绑定</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 51px;">其他原因</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 163px;">多次拨打占线/无人接听/拒接</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 152px;">申请人主动取消办理此业务</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 138px;">资料不全/不清晰/不合规</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 171px;">申请人需要与业务/联系人沟通</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 76px;">信息填写错误</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 89px;">银行卡无法绑定</th><th class="sorting_disabled" rowspan="1" colspan="1" style="width: 52px;">其他原因</th></tr>
                    </thead></table></div></div><div class="dataTables_scrollBody" style="position: relative; overflow: auto; width: 100%;"><table id="lendingList" style="overflow: auto; width: 4500px;" class="table table-bordered table-striped table-hover bg_wt dataTable no-footer" role="grid" aria-describedby="lendingList_info"><thead style="border-bottom: 0;background-color: #fff;">
                    <tr role="row" style="height: 0px;"><th rowspan="3" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 25px;" align="center" class="sorting_disabled" colspan="1"><div class="dataTables_sizing" style="height:0;overflow:hidden;">序号</div></th><th rowspan="3" style="width: 219px; padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px;" align="center" class="sorting_disabled" colspan="1"><div class="dataTables_sizing" style="height:0;overflow:hidden;">商户名称</div></th><th colspan="8" align="center" rowspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 520px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">审核情况</div></th><th colspan="29" align="center" rowspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 3667px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">原因统计</div></th></tr>
                    <tr role="row" style="height: 0px;"><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">通过金额</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">审批总数</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">通过数量</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">拒绝数量</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">打回数量</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">取消数量</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 51px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">通过率</div></th><th rowspan="2" align="center" class="sorting_disabled" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">金额比例</div></th><th colspan="15" align="center" rowspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 1753px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">拒绝原因</div></th><th colspan="7" align="center" rowspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 937px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">取消原因</div></th><th colspan="7" align="center" rowspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 943px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">打回原因</div></th></tr>
                    <tr role="row" style="height: 0px;"><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">信息虚假</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 87px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">关机/空号/停机</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 88px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">不符合进件标准</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 88px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">产品与申请不符</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 132px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">临时身份证/身份证过期</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 132px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">非本人使用/非本人申请</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 174px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">多时段拨打占线/无人接听/拒接</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 132px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">申请人无业/工作不稳定</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">限制行业</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 63px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">不配合审核</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 63px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">高风险客户</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 305px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">通讯录信息无效/未授权通讯录/非实名手机/在网时间短</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 76px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">还款能力不足</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 50px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">其他原因</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 25px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">其他</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 162px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">多次拨打占线/无人接听/拒接</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 151px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">申请人主动取消办理此业务</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 137px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">资料不全/不清晰/不合规</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 170px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">申请人需要与业务/联系人沟通</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 76px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">信息填写错误</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 88px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">银行卡无法绑定</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 51px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">其他原因</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 163px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">多次拨打占线/无人接听/拒接</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 152px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">申请人主动取消办理此业务</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 138px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">资料不全/不清晰/不合规</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 171px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">申请人需要与业务/联系人沟通</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 76px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">信息填写错误</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 89px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">银行卡无法绑定</div></th><th class="sorting_disabled" rowspan="1" colspan="1" style="padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; border-bottom-width: 0px; height: 0px; width: 52px;"><div class="dataTables_sizing" style="height:0;overflow:hidden;">其他原因</div></th></tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
                    <div class="bottom">
                        <div class="dataTables_info" id="bizList_info" role="status" aria-live="polite">

                        </div>
                        <div class="common_page"></div>

                        <div class="clear"></div>
                    </div>
            </div>
            <!--正文内容end-->
        </div>
</div>

            </div>
        </div>
    </div>
</body>
 <script src="js/jedate.min.js"></script>
 <script src="js/jquery-2.1.1.min.js"></script>
 <script src="js/common.js"></script>
 <script src="js/layer.js"></script>
 <script>
     jeDate({
         dateCell:"#applyDateStart", //目标元素。由于jedate.js封装了一个轻量级的选择器，因此dateCell还允许你传入class、tag这种方式 '#id .class'
         format:"YYYY-MM-DD hh:mm:ss", //日期格式
         minDate:"1900-01-01 00:00:00", //最小日期
         maxDate:"2099-12-31 23:59:59", //最大日期
         isinitVal:false, //是否初始化时间
         isTime:true, //是否开启时间选择
         isClear:true, //是否显示清空
         festival:false, //是否显示节日
         zIndex:999,  //弹出层的层级高度
         marks:null, //给日期做标注
         choosefun:function(val) {},  //选中日期后的回调
         clearfun:function(val) {},   //清除日期后的回调
         okfun:function(val) {}       //点击确定后的回调
     });
     jeDate({
         dateCell:"#applyDateStart1", //目标元素。由于jedate.js封装了一个轻量级的选择器，因此dateCell还允许你传入class、tag这种方式 '#id .class'
         format:"YYYY-MM-DD hh:mm:ss", //日期格式
         minDate:"1900-01-01 00:00:00", //最小日期
         maxDate:"2099-12-31 23:59:59", //最大日期
         isinitVal:false, //是否初始化时间
         isTime:true, //是否开启时间选择
         isClear:true, //是否显示清空
         festival:false, //是否显示节日
         zIndex:999,  //弹出层的层级高度
         marks:null, //给日期做标注
         choosefun:function(val) {},  //选中日期后的回调
         clearfun:function(val) {},   //清除日期后的回调
         okfun:function(val) {}       //点击确定后的回调
     });
 </script>
 <script>

     function _search(_page) {
         var merchant,startTime,endTime,pageIndex,pageSize;
         merchant = $("#bizName").val();
         startTime = $("#applyDateStart").val();
         endTime = $("#applyDateStart1").val();
         if(_page!=""){
             var tmp={
                 "merchant":merchant,
                 "startTime":startTime,
                 "endTime":endTime,
                 "pageIndex":_page,
                 "pageSize":3
             };
         }else{
             var tmp={
                 "merchant":merchant,
                 "startTime":startTime,
                 "endTime":endTime,
                 "pageIndex":0,
                 "pageSize":3
             };
         }


         $.ajax({
             type: 'POST',
             url: 'http://localhost:8010/tenant/queryPage',
             dataType: 'JSON',
             data: JSON.stringify(tmp),
             contentType: "application/json;charset=utf-8",
             success: function (res) {
                 _list = res.data.dataList;
                 var _html = "";
                 if(res.success){
                     $("#bizList_info").html("当前是第"+res.data.pageIndex+"页，共"+res.data.totalPage+"页")
                     if(_list.length>0){
                         page(2,1);
                     }
                     for(var i = 0;i<_list.length;i++){
                         _html+="<tr>"+
                             "<td>"+(i+1)+"</td>"+
                             "<td>"+_list[i].merchant+"</td>"+
                             "<td>"+_list[i].passAmount+"</td>"+
                             "<td>"+_list[i].shenPiNum+"</td>"+
                             "<td>"+_list[i].passNum+"</td>"+
                             "<td>"+_list[i].juJueNum+"</td>"+
                             "<td>"+_list[i].dahuiNum+"</td>"+
                             "<td>"+_list[i].quXiaoNum+"</td>"+
                             "<td>"+_list[i].tongGuoLu+"</td>"+
                             "<td>"+_list[i].amountBiLi+"</td>"+
                             "<td>"+_list[i].passAmount+"</td>"+
                             "<td>"+_list[i].shenPiNum+"</td>"+
                             "<td>"+_list[i].passNum+"</td>"+
                             "<td>"+_list[i].juJueNum+"</td>"+
                             "<td>"+_list[i].dahuiNum+"</td>"+
                             "<td>"+_list[i].quXiaoNum+"</td>"+
                             "<td>"+_list[i].tongGuoLu+"</td>"+
                             "<td>"+_list[i].amountBiLi+"</td>"+
                             "<td>"+_list[i].passAmount+"</td>"+
                             "<td>"+_list[i].shenPiNum+"</td>"+
                             "<td>"+_list[i].passNum+"</td>"+
                             "<td>"+_list[i].juJueNum+"</td>"+
                             "<td>"+_list[i].dahuiNum+"</td>"+
                             "<td>"+_list[i].quXiaoNum+"</td>"+
                             "<td>"+_list[i].tongGuoLu+"</td>"+
                             "<td>"+_list[i].amountBiLi+"</td>"+
                             "<td>"+_list[i].passAmount+"</td>"+
                             "<td>"+_list[i].shenPiNum+"</td>"+
                             "<td>"+_list[i].passNum+"</td>"+
                             "<td>"+_list[i].juJueNum+"</td>"+
                             "<td>"+_list[i].dahuiNum+"</td>"+
                             "<td>"+_list[i].quXiaoNum+"</td>"+
                             "<td>"+_list[i].tongGuoLu+"</td>"+
                             "<td>"+_list[i].amountBiLi+"</td>"+
                             "<td>"+_list[i].channel+"</td>"+
                             "<td>"+_list[i].channel+"</td>"+
                             "<td>"+_list[i].channel+"</td>";
                         _html+="<tr/>";
                     }
                     $("#lendingList tbody").html(_html);

                 }else{
                     console.log(res.errorMessage);
                 }
             }
         })
     }
     _search()

     //分页点击事件
     $(".common_page").on("click","a",function(){
         console.log($(this));
         $(this).addClass("active");
         $(this).siblings().removeClass("active");
         var _index = parseInt($(this).attr("page"));
         if(_index==1){
             $(".prev_page").attr("disabled","disabled");
         }else{
             $(".prev_page").attr("page",_index-1);
             $(".last_page").attr("page",_index+1);
         }
         var _page = $(this).attr("page");
         _search(_page)
     })
     //多条件查询点击事件
     $("#btn-search").on("click",function(){
         _search()
     })

     //导出点击点击事件
     function exportExcel(){
         layer.confirm("确定要导出信审资方日报表吗？", {
             btn: ['确认','取消'], //按钮
             yes:function (index, layero) {
                 var merchant = $("#bizName").val();
                 var startTime = $("#applyDateStart").val();
                 var endTime = $("#applyDateStart1").val();

                 var url="http://localhost:8010/tenant/master?merchant="+merchant+"&startTime="+startTime+"&endTime="+endTime;
                 window.open(url);
                 layer.close(index);
             },
             cancel:function(index){
                 //按钮【按钮二】的回调
                 layer.close(index);
             },
         });
     }
 </script>
 </html>

